body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
ol,
ul,
dd,
input,
textarea {
  padding: 0;
  margin: 0;
}
img {
  vertical-align: top;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none !important;
}
li {
  list-style: none;
}
body {
  background-color: white;
  font-size: 12px;
}
a:hover {
  color: #d1d8d8;
}

.sl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w {
  width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.cl:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.cl {
  zoom: 1;
}

//////////////遮罩层/遮罩层遮罩层遮罩层遮罩层////////////////////
.shadow {
  // position: relative;
  position: fixed;
  background-color: rgb(71, 68, 68);
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;

  .shadow-box {
    width: 450px;
    height: 300px;
    background-color: white;
    position: fixed;

    .box-p1 {
      font-size: 18px;
      margin: 50px 0 30px;
      text-align: center;
    }
    .shadow-main {
      margin: 0 40px 30px;
      font-size: 15px;
      .box-s {
        color: #845f3f;
      }
      .box-p2 {
        color: black;
      }
    }
    .shadow-btn {
      margin-left: 42px;
      button {
        width: 180px;
        height: 42px;
        background-color: #845f3f;
        text-align: center;
        line-height: 42px;
        border: #845f3f 1px solid;
        border-radius: 10px;
        font-size: 18px;
        color: #d1d8d8;
        outline: none;
      }
    }
  }
}

////////////////////////////

////////////开始部分   开始部分   开始部分/////////////////////////////////

.box-header {
  width: 100%;
  height: 48px;
  background-color: rgb(53, 52, 52);
  color: #f3f3f3;
  font-size: 14px;
}

.box-right {
  float: right;
}

.box-right li {
  float: left;
  text-align: center;
  line-height: 48px;
  margin-left: 20px;
}

.middle-line {
  margin-left: 10px;
  color: #666;
}

.hover-box {
  width: 160px;
  height: 70px;
  background-color: white;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  color: #666;
  position: absolute;
  top: 48px;
  right: 0;
  display: none;
}
.hover-box1,
.hover-box2 {
  height: 35px;
  text-align: center;
  line-height: 35px;
}
.box-right-hover {
  position: relative;
}
.box-right-hover:hover .hover-box {
  display: block;
}
.hover-box1:hover {
  background-color: #845f3f;
  color: white;
}
.hover-box2:hover {
  background-color: #845f3f;
  color: white;
}

#header-top {
  width: 100%;
  height: 51px;
  margin-top: 26px;
  margin-bottom: 10px;
}
.header-top-a {
  height: 51px;
  // background-color: pink;
}
.header-logo {
  width: 123px;
  height: 51px;
  float: left;
}
.header-logo img {
  width: 123px;
  height: 51px;
  background-size: 100%;
}
.header-time {
  width: 420px;
  float: left;
  line-height: 51px;
  margin-left: 140px;
  font-size: 20px;
  color: #666;
}
.header-searchLogo {
  width: 296px;
  height: 40px;
  //   background-color: rgb(143, 137, 137);
  line-height: 51px;
  float: right;
  margin-top: 8px;
  border-bottom: 1px rgb(160, 154, 154) solid;
}
.header-searchLogo .iconfont {
  width: 30px;
  height: 30px;
  //   line-height: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  float: left;
  color: #666;
}
.header-searchLogo .searchInput {
  width: 266px;
  height: 32px;
  float: left;
  border: none;
  // margin-top: 8px;
}
.header-searchLogo input {
  outline: none;
  width: 100%;
  height: 32px;
  float: left;
  outline: 0;
  border: 0;
  padding-top: 8px;
  font-size: 15px;
}
.shoppingcarLogo {
  width: 30px;
  height: 30px;
  float: right;
  color: #666;
  text-align: center;
  line-height: 30px;
  margin-left: 5px;
}
.shoppingcarLogo span {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  display: block;
  padding-top: 22px;
  font-size: 27px;
}

///////////////右边固定广告 右边固定广告右边固定广告///////////////////

.advertising-right {
  width: 80px;
  height: 362px;
  padding-top: 5px;
  position: fixed;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
}

.advertising-right li {
  height: 71.4px;
  text-align: center;
  border-bottom: 1px solid rgb(212, 208, 208);
  cursor: pointer;
}

.advertising-right .iconfont {
  font-size: 22px;
  color: #999999;
  display: block;
}
.advertising-p11 {
  width: 80px;
  height: 60.4px;
  margin: auto;
  text-align: center;
  // margin-top: 10px;
  padding-top: 10px;

  p {
    margin-top: 10px;
  }
}

.advertising-right .advertising-p1,
.advertising-p2,
.advertising-p3,
.advertising-p4 {
  position: relative;
}

.advertising-right .advertising-Left {
  width: 250px;
  height: 230px;
  position: absolute;
  left: -265px;
  top: 0px;
  border: 1px solid #e6e4e4;
  background-color: white;
  display: none;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
}

.advertising-p1:hover .advertising-Left {
  display: block;
}

.advertising-right .adv-l-a {
  width: 230px;
  height: 220px;
  margin: auto;
}

.advertising-right .adv-l-b {
  width: 120px;
  height: 145px;
  position: absolute;
  left: -130px;
  top: 0px;
  border: 1px solid #e6e4e4;
  background-color: white;
  display: none;
  img {
    padding-top: 10px;
  }
}

.advertising-p2:hover .adv-l-b {
  display: block;
}
.advertising-right img {
  width: 88px;
  height: 88px;
}
.adv-l-b .adv-l-p {
  margin-top: 5px;
}

.adv-l-c {
  width: 211px;
  height: 330px;
  background-color: white;
  position: absolute;
  left: -226px;
  top: 0px;
  display: none;
  border: 1px solid #e6e4e4;

  .adv-new {
    width: 190px;
    height: 152px;
    background-image: url(../xiaomi-img/adv-new.gif);
    background-size: 100%;
    margin: 12px auto;
  }
  .adv-saoma div {
    width: 120px;
    height: 120px;
    margin: auto;
    background-color: white;
    border: #e0dedc 1px solid;
  }
  .adv-saoma img {
    width: 88px;
    height: 88px;
    margin: 16px auto;
  }
}
.advertising-p3:hover .adv-l-c {
  display: block;
}

.avd-l-d {
  width: 210px;
  height: 185px;
  position: absolute;
  background-color: white;
  border: 1px solid #e6e4e4;
  left: -224px;
  top: 0;
  display: none;

  .adv-weixin {
    width: 120px;
    height: 120px;
    margin: 10px auto;
    text-align: center;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
.advertising-p4:hover .avd-l-d {
  display: block;
}

////////////购物车主体部分////////////////// -->

.home-body {
  border-top: 1px solid rgb(212, 210, 206);
}

.home {
  // background-color: rgb(179, 170, 170);

  .home-page {
    // background-color: pink;
    margin: 30px 0;
    a {
      font-size: 15px;
      color: black;
    }
    span {
      font-size: 13px;
      color: #999999;
      cursor: pointer;
    }
  }
}

.shoppingcar-main {
margin-bottom: 30px;
  overflow: hidden;

  .carList {
    background-color: #fafafa;
    height: 40px;
    font-size: 15px;
    color: #999999;

    li {
      float: left;

      line-height: 40px;
    }
    .carList-a {
 
      
      margin-right: 15px;
    
      input{
        width: 15px;
        height: 15px;
        border: 1px solid rgb(238, 238, 234);
 

      }



    }
    .carList-b {
      width: 130px;
      // background-color: rgb(190, 101, 101);
    }
    .carList-c {
      width: 325px;
      // background-color: rgb(190, 108, 108);
    }
    .carList-d {
      width: 205px;
    }
    .carList-e {
      width: 208px;
    }
    .carList-f {
      width: 129px;
    }
  }

 
}


.carlist {
    line-height: 142px;

    font-size: 15px;


    .carlist-body {
     height: 144px;
      border-bottom: 1px solid #666;
    

      li {
        float: left;
      }

      .carlist-box {
        // width: 30px;
        // height: 30px;
        // background-color: red;
        margin-right: 15px;
        // margin-top: 56px; 
        overflow: hidden;

        input{
          width: 15px;
          height: 15px;
          border: 1px solid rgb(238, 238, 234);
      
  
        }
  


      }
      .carlist-img {
        width: 350px;
        height: 142px;
        margin-left: 20px;
        cursor: pointer;

        .carlist {
          width: 120px;
          height: 120px;
          margin-top: 11px;
          float: left;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .carlist-l {
          float: left;

          line-height: 142px;
        }
      }
      .carlist-price {
        width: 200px;
        text-align: center;
      }
      .num-box {
        margin-left: 40px;

        .num-box-l {
          width: 34px;
          height: 30px;
          border: 1px solid #d6d6d6;
          margin-top: 55px;
          border-right: 0px;
          float: left;
          cursor: pointer;
          .iconfont{
            display: block;
            text-align: center;
            line-height: 30px;
        }



        }
        .num-box-m {
          float: left;
          input {
            width: 70px;
            height: 30px;
            border: 1px solid #d6d6d6;
            text-align: center;
            // line-height: 30px;
            outline: none;
          }
        }
        .num-box-r {
          margin-top: 55px;
          width: 34px;
          height: 30px;
          border: 1px solid #d6d6d6;
          border-left: 0px;
          float: left;
          cursor: pointer;
          .iconfont{
            display: block;
            text-align: center;
            line-height: 30px;
            font-weight: 600;
        }
          
        }
      }
    }

    .carlist-price2{
        width: 150px;
        text-align: center;
        margin-left: 50px;

    }
    .carlist-del{
        width: 40px;
        text-align: center;
        margin-left: 40px;
        font-size: 20px;
        cursor: pointer;
    }


  }

.carlist-totl1{
  overflow: hidden;

.carlist-totl{
  height:80px;
  margin-top: 110px;
  margin-bottom: 100px;

  background-color: #fafafa;
  line-height: 80px;

  font-size: 18px;

  .totl-input{
        float: left;

        input{
          width: 15px;
          height: 15px;
          border: 1px solid rgb(238, 238, 234);
 
        }
  }
  .totl-all{
    float: left;
    margin-left: 30px;
  }

  .totl-check{
    float: left;

    span {
      float: left;
      margin-right: 5px;
    }

    .check-have{
      // display: block;
      margin-left: 15px;
    }
  }

  .totl-num{
    float: left;
  }

  .totl{
    float: right;

    margin-right: 40px;

  }

  .totl-js{
    width: 200px;
    float: right;
    text-align: center;
    background-color: #a9010d;
    cursor: pointer;
  }

}
}


//////////////底部////////////////////////

.bottom{
  // background-color: rgb(170, 164, 164);
  border-top: 1px solid rgb(240, 236, 230);
  margin-top: 60px;
  .bottom-body{
      height: 90px;
      margin-top: 45px;
      background-color: #fff;
      .bottom-logo{
          width: 125px;
          height: 45px;
          
          float: left;
          img{
              width: 100%;
              height: 100%;
          }
      }
  }
  .bottom-middle{
      float: left;
      margin-left: 296px;
      img{
          width: 15px;
          height: 15px;
      }
      p{
          margin: 5px 0;
      }

  }

  .bottom-logo-r{
      float: right;
      width: 100px;
      height: 36px;

      img{
          width: 100%;
          height: 100%;
      }
  }
}